class AVRiLMFire extends ShotgunWFire;

function bool AllowFire()
{
    if( Instigator != none && Instigator.IsHumanControlled() )
    {
        if( !KFWeapon(Weapon).bAimingRifle || KFWeapon(Weapon).bZoomingIn )
        {
            return false;
        }
    }
	return ( Weapon.AmmoAmount(ThisModeNum) >= AmmoPerFire);
}
function ServerPlayFiring()
{
	Super.ServerPlayFiring();
    KFWeapon(Weapon).ZoomOut(false);
}
function PlayFiring()
{
	Super.PlayFiring();
    KFWeapon(Weapon).ZoomOut(false);
}

defaultproperties
{
     KickMomentum=(X=0.000000,Z=0.000000)
     maxVerticalRecoilAngle=1000
     maxHorizontalRecoilAngle=350
     StereoFireSound=SoundGroup'Inf_Weapons.panzerfaust60.panzerfaust60_fire01'
     ProjPerFire=6
     FireSound=Sound'AVRiLSounds.AvrilReload01'
     NoAmmoSound=Sound'KF_LAWSnd.LAW_DryFire'
     FireRate=3.000000
     AmmoClass=Class'PerksSimHostOrg.AVRiLMAmmo'
     ShakeRotMag=(X=100.000000,Y=100.000000,Z=800.000000)
     ShakeOffsetMag=(X=12.000000,Y=4.000000,Z=20.000000)
     ProjectileClass=Class'PerksSimHostOrg.AVRiLIIProjC'
     aimerror=0.000000
     Spread=12500.000000
}
